﻿<%@ Page Title="" Language="C#" MasterPageFile="~/DeveloperMaster.Master" AutoEventWireup="true" CodeBehind="WebFormGenerateLicence.aspx.cs" Inherits="UtilitesWebApplication.WebFormGenerateLicence" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">
    <telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadButtonUnlimited">
                <updatedcontrols>
                    <telerik:AjaxUpdatedControl ControlID="RadNumericTextBoxDuration" />
                </updatedcontrols>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="RadButtonRead">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadTextBoxReading" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManagerProxy>
    <table id="table1"  border="2px">
        <tr>
            <th align="center" colspan="2">
                <h1>Generate Licence</h1>
            </th>
        </tr>
        <tr align="left">
            <td>
                <telerik:RadNumericTextBox ID="RadNumericTextBoxDuration" runat="server" Label="Duration : " Value="15">
                    <NumberFormat DecimalDigits="0" />
                </telerik:RadNumericTextBox>
            </td>
            <td>
                <telerik:RadButton ID="RadButtonUnlimited" runat="server" Text="Unlimited" ButtonType="ToggleButton" ToggleType="CheckBox" OnCheckedChanged="RadButtonUnlimited_CheckedChanged" style="direction:rtl"></telerik:RadButton>
            </td>
        </tr>
        <tr align="left">
           <td>
                <telerik:RadTextBox ID="RadTextBoxFileName" runat="server" Label="File name : " Text="Licence.lic" ></telerik:RadTextBox>
           </td>
           <td>
                <telerik:RadButton ID="RadButtonGenerate" runat="server" Text="Generate" OnClick="RadButtonGenerate_Click"></telerik:RadButton>
           </td>
        </tr>
        <tr align="left">
            <td>
                <telerik:RadAsyncUpload ID="RadAsyncUpload" runat="server" Width="255px"></telerik:RadAsyncUpload>
                <telerik:RadProgressArea ID="RadProgressArea" runat="server"></telerik:RadProgressArea>
                <telerik:radtextbox ID="RadTextBoxReading" runat="server" textMode="MultiLine" width="430px" height="100px"></telerik:radtextbox>
            </td>
            <td align="left">
                <telerik:RadButton ID="RadButtonRead" runat="server" Text="    Read   " OnClick="RadButtonRead_Click"></telerik:RadButton>
            </td>
        </tr>
    </table>
</asp:Content>
